package com.jason.kotlin.gank.ui

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.jason.kotlin.gank.model.RollJokeBean
import com.jason.kotlin.gank.ui.adapter.RollJokeAdapter
import com.jason.kotlin.gank.viewmodel.RollJokeViewModel
import com.jason.library.common.base.BasePageStateActivity

/**
 * @description: RollJokeActivity
 *
 * @author ChenBaoyang
 * @date 4/25/21 21:09
 */
class RollJokeActivity : BasePageStateActivity<RollJokeViewModel, RollJokeBean>() {

    override fun getAdapter(): BaseQuickAdapter<RollJokeBean, BaseViewHolder> = RollJokeAdapter()

    override fun onDataInit() {
        viewModel!!.loadData()
    }
}